home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
bootup
/
boot_a2m
/
cfg_sel
/
cfg_sel.bat
< prev
next >
Wrap
DOS Batch File
|
1995-05-02
|
8KB
|
482 lines
CD C:\NEO\CFG
if "$max_wind" == "0 11 320 189"
font 0
goto START
elseif "$max_wind" == "0 11 640 189"
font 0
goto START
elseif "$max_wind" == "0 19 640 381"
font 1
goto START
elseif "$max_wind" == "0 19 320 461"
font 2
goto START
elseif "$max_wind" == "0 19 640 461"
font 2
goto START
; You can determine the settings for other resolutions by using the
; set max_wind command from the c: prompt
START;
;*****
window $max_wind
echo ""
echo " Select a Menu"
echo " ============="
echo " 1. .INF files"
echo ""
echo " 2. .MAC files"
echo ""
echo " 3. .NOT files"
echo ""
echo " ...press esc or * to exit..."
getch a b
if "$b" == '\x6d'
goto .INF1
elseif "$b" == '\x02'
goto .INF1
; 1st is for "num 1", 2nd is for "kb 1"
; likewise for the following pairs of commands
elseif "$b" == '\x6e'
goto .MAC1
elseif "$b" == '\x03'
goto .MAC1
elseif "$b" == '\x6f'
goto .NOT1
elseif "$b" == '\x04'
goto .NOT1
elseif "$b" == '\x01'
exit
close
elseif "$b" == '\x66'
exit
close
else
echo "choose 1,2,3, or press ESC to exit"
pause
goto start
endif
;.INF MENUS
;**********
.INF1;
WINDOW $MAX_WIND
echo " Select an .INF configuration PAGE 1"
echo " ====================================="
echo " 1. BLANK a. ="
echo ""
echo " 2. KCS MED b. ="
echo ""
echo " 3. KCS HIGH c. ="
echo ""
echo " 4. d. ="
echo ""
echo " 5. e. ="
echo ""
echo " 6. f. ="
echo ""
echo " 7. g. ="
echo ""
echo " 8. h. ="
echo ""
echo " 9. i. ="
echo ""
echo " 0. j ="
echo " up---prev page down---next page"
echo " esc--exit menu *------top menu"
getch a b
if "$b" == '\x6d'
LOADINF BLANK.INF
exit
close
elseif "$b" == '\x6e'
LOADINF KCS_M.INF
exit
close
elseif "$b" == '\x6f'
LOADINF KCS_H.INF
exit
close
elseif "$b" == '\x6a'
; LOADINF 4.INF
exit
close
elseif "$b" == '\x6b'
; LOADINF 5.INF
exit
close
elseif "$b" == '\x6c'
; LOADINF 6.INF
exit
close
elseif "$b" == '\x67'
; LOADINF 7.INF
exit
close
elseif "$b" == '\x68'
; LOADINF 8.INF
exit
close
elseif "$b" == '\x69'
; LOADINF 9.INF
exit
close
elseif "$b" == '\x70'
; LOADINF 0.INF
exit
close
elseif "$b" == '\x1e'
; LOADINF a.INF
exit
close
elseif "$b" == '\x30'
; LOADINF b.INF
exit
close
elseif "$b" == '\x2e'
; LOADINF c.INF
exit
close
elseif "$b" == '\x20'
; LOADINF d.INF
exit
close
elseif "$b" == '\x12'
; LOADINF e.INF
exit
close
elseif "$b" == '\x21'
; LOADINF f.INF
exit
close
elseif "$b" == '\x22'
; LOADINF g.INF
exit
close
elseif "$b" == '\x23'
; LOADINF h.INF
exit
close
elseif "$b" == '\x17'
; LOADINF i.INF
exit
close
elseif "$b" == '\x24'
; LOADINF j.INF
exit
close
elseif "$b" == '\x66'
goto START
; ^ returns you to top menu
elseif "$b" == '\x48'
goto .INF1
; ^ if setting up multiple pages, this goto should always point to lablename
; | of previous page. ie. in page 2 "goto .INF1", in page 3 "goto .INF2",etc
; | But on page 1, might as well leave it set up to redisplay 1st page
elseif "$b" == '\x50'
goto .INF1
; ^ likewise this should always point to lablename of next page. ie, when
; | .INF2 is set up, change this to "goto .INF2. In page 2, it should
; | be "goto .INF3, etc.
elseif "$b" == '\x01'
exit
close
; if the menu is changed to >20 cfgs, addt'l scancode commands should be
; inserted here, BEFORE the last "else..." command
else
echo "you pressed the wrong key"
pause
goto .INF1
endif
; following are the .MAC & .NOT menus that follow exactly the
; same format as the previous .INF menu
;.MAC MENUS
;**********
.MAC1;
WINDOW $MAX_WIND
echo " Select a .MAC configuration PAGE 1"
echo " ====================================="
echo " 1. BLANK macros a. ="
echo ""
echo " 2. b. ="
echo ""
echo " 3. c. ="
echo ""
echo " 4. d. ="
echo ""
echo " 5. e. ="
echo ""
echo " 6. f. ="
echo ""
echo " 7. g. ="
echo ""
echo " 8. h. ="
echo ""
echo " 9. i. ="
echo ""
echo " 0. j. ="
echo " up---prev page down---next page"
echo " esc--exit *------top menu"
getch a b
if "$b" == '\x6d'
LOADINF BLANK.MAC
exit
close
elseif "$b" == '\x6e'
; LOADINF 2.MAC
exit
close
elseif "$b" == '\x6f'
; LOADINF 3.MAC
exit
close
elseif "$b" == '\x6a'
; LOADINF 4.MAC
exit
close
elseif "$b" == '\x6b'
; LOADINF 5.MAC
exit
close
elseif "$b" == '\x6c'
; LOADINF 6.MAC
exit
close
elseif "$b" == '\x67'
; LOADINF 7.MAC
exit
close
elseif "$b" == '\x68'
; LOADINF 8.MAC
exit
close
elseif "$b" == '\x69'
; LOADINF 9.MAC
exit
close
elseif "$b" == '\x70'
; LOADINF 0.MAC
exit
close
elseif "$b" == '\x1e'
; LOADINF a.MAC
exit
close
elseif "$b" == '\x30'
; LOADINF b.MAC
exit
close
elseif "$b" == '\x2e'
; LOADINF c.MAC
exit
close
elseif "$b" == '\x20'
; LOADINF d.MAC
exit
close
elseif "$b" == '\x12'
; LOADINF e.MAC
exit
close
elseif "$b" == '\x21'
; LOADINF f.MAC
exit
close
elseif "$b" == '\x22'
; LOADINF g.MAC
exit
close
elseif "$b" == '\x23'
; LOADINF h.MAC
exit
close
elseif "$b" == '\x17'
; LOADINF i.MAC
exit
close
elseif "$b" == '\x24'
; LOADINF j.MAC
exit
close
elseif "$b" == '\x66'
goto START
elseif "$b" == '\x48'
goto .MAC1
elseif "$b" == '\x50'
goto .MAC1
elseif "$b" == '\x01'
exit
close
else
echo "you pressed the wrong key"
pause
goto .MAC1
endif
;.NOT MENUS
;**********
.NOT1;
WINDOW $MAX_WIND
echo " Select a .NOT configuration PAGE 1"
echo " ====================================="
echo " 1. BLANK notes a. ="
echo ""
echo " 2. b. ="
echo ""
echo " 3. c. ="
echo ""
echo " 4. d. ="
echo ""
echo " 5. e. ="
echo ""
echo " 6. f. ="
echo ""
echo " 7. g. ="
echo ""
echo " 8. h. ="
echo ""
echo " 9. i. ="
echo ""
echo " 0. j. ="
echo " up---prev page down---next page"
echo " esc--exit *------top menu"
getch a b
if "$b" == '\x6d'
LOADINF BLANK.NOT
exit
close
elseif "$b" == '\x6e'
; LOADINF 2.NOT
exit
close
elseif "$b" == '\x6f'
; LOADINF 3.NOT
exit
close
elseif "$b" == '\x6a'
; LOADINF 4.NOT
exit
close
elseif "$b" == '\x6b'
; LOADINF 5.NOT
exit
close
elseif "$b" == '\x6c'
; LOADINF 6.NOT
exit
close
elseif "$b" == '\x67'
; LOADINF 7.NOT
exit
close
elseif "$b" == '\x68'
; LOADINF 8.NOT
exit
close
elseif "$b" == '\x69'
; LOADINF 9.NOT
exit
close
elseif "$b" == '\x70'
; LOADINF 0.NOT
exit
close
elseif "$b" == '\x1e'
; LOADINF a.NOT
exit
close
elseif "$b" == '\x30'
; LOADINF b.NOT
exit
close
elseif "$b" == '\x2e'
; LOADINF c.NOT
exit
close
elseif "$b" == '\x20'
; LOADINF d.NOT
exit
close
elseif "$b" == '\x12'
; LOADINF e.NOT
exit
close
elseif "$b" == '\x21'
; LOADINF f.NOT
exit
close
elseif "$b" == '\x22'
; LOADINF g.NOT
exit
close
elseif "$b" == '\x23'
; LOADINF h.NOT
exit
close
elseif "$b" == '\x17'
; LOADINF i.NOT
exit
close
elseif "$b" == '\x24'
; LOADINF j.NOT
exit
close
elseif "$b" == '\x66'
goto START
elseif "$b" == '\x48'
goto .NOT1
elseif "$b" == '\x50'
goto .NOT1
elseif "$b" == '\x01'
exit
close
else
echo "you pressed the wrong key"
pause
goto .NOT1
endif
;****